package dao;

import java.util.List;

import vo.User;

public interface UserDAO extends GenericDao<User, Long> {

	public List<User> findAll();

	public List<User> findAll(int start, int pageSize);

	public long findTotalCount();

	public User findByUsernamePSW(String username, String psw);

	public User getById(long id);

	public User getByName(String name);

	public User getByLoginName(String name);

	public void update(long id);

	public void delete(long id);// 不是真是删除

}
